﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace BenevolentSunData
{

    public class EmptyCell : Cell
    {

        public override string Name
        {
            get { return ""; }
        }

        #region Beams
        public override List<Direction> AddInput(Beam beam, Direction direction)
        {
            MergeBeam(beam, direction);

            List<Direction> output = new List<Direction>();

            Direction through = DirectionUtils.Invert(direction);

            if (MergeBeam(beam, through))
                output.Add(through);

            return output;
        }
        #endregion


        #region ICloneable
        public override object Clone()
        {
            EmptyCell cell = new EmptyCell();
            return base.Clone(cell);
        }
        #endregion

    }
}
